package com.job.structureType.decorator;

import lombok.Data;

/**
 * @Author 王博
 * @DateTime 2025-06-12 19:06
 */
public abstract class FastFoodDecorator extends FastFood {
    private FastFood fastFood;
    FastFoodDecorator(FastFood fastFood,Integer price, String desc) {
        super(price, desc);
        this.fastFood = fastFood;
    }

    public FastFood getFastFood() {
        return fastFood;
    }

    public void setFastFood(FastFood fastFood) {
        this.fastFood = fastFood;
    }
}
